<template>
  <div>
    <h1><slot></slot></h1>

    <getters1>直接访问</getters1>
    <getters2>getters → 组件的 computed</getters2>
  </div>
</template>

<script>
import Getters1 from './Getters1.vue'
import Getters2 from './Getters2.vue'

export default {
  name: 'Getters',
  components: {
    Getters1,
    Getters2
  }
}
</script>
